
package game.model {
	import flash.geom.Point;
	
	import game.model.vo.SceneVO;
	
	import utils.Singleton;
	
	/**
	 * SceneModel
	 *
	 * @author chris
	 *
	 * Apr 9, 2013
	 */
	public class SceneModel extends Singleton {
		
		//当前场景
		private var _sceneVO:SceneVO;
		//当前中心点
		private var _center:Point;
		
		public function SceneModel()
		{
			super();
			_center = new Point();
		}
		
		public static function get inst():SceneModel {
			return Singleton.getInstanceOrCreate(SceneModel) as SceneModel;
		}
		
		public function set sceneVO(vo:SceneVO):void {
			_sceneVO = vo;
		}
		
		public function get sceneVO():SceneVO {
			return _sceneVO;
		}
		public function set center(c:Point):void {
			_center = c;
		}
		public function get center():Point {
			return _center;
		}
	}
}